<template>
<div>
    <div v-for="(item, key, index) in platform" :label="item.value" :key="index">
      <div class="fb">{{item.name}}</div>
      <el-checkbox-group v-model="form.payType[key].payType">
        <el-checkbox v-for="(pay_item, pay_index) in item.payType" :label="payType[pay_item].value" :key="pay_index">
          {{payType[pay_item].name}}
        </el-checkbox>
      </el-checkbox-group>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    form: {
      type: Object,
      required: true
    },
    platform: {
      type: Array,
      required: true
    },
    payType: {
      type: Array,
      required: true
    }
  }
};
</script>

